package com.caocaog.market.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.caocaog.market.entity.ShopPrinter;

import java.util.List;

/**
 * 打印机设置
 *
 * @author chechen
 * @date 2021-12-01
 */
public interface ShopPrinterService extends IService<ShopPrinter> {

    IPage<ShopPrinter> queryShopPrinterPage(Page<ShopPrinter> page, ShopPrinter shopPrinter);

    String addShopPrinter(ShopPrinter shopPrinter);

    int updateShopPrinter(ShopPrinter shopPrinter);

    int deleteShopPrinter(String id);

    void deleteBatchShopPrinter(List<String> ids);

    List<ShopPrinter> getShopPrinterByShopId(String shopId);

}
